package ysu.sxm.ptjc.Dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import ysu.sxm.ptjc.Domin.MonthModel;
import ysu.sxm.ptjc.Domin.ProduceInfoMondel;
import ysu.sxm.ptjc.pojo.ProduceStatisticalInfo;

import java.util.List;

@Repository
public interface MonthStaticsDao {
    /**
     * @Table pro_relation_info
     * @Return produce_num
     */
    List<ProduceInfoMondel> getProNumAndCarType(@Param("req")MonthModel model);

    /**
     * @Table produce_info
     * @return produceInfoModel
     */
    List<ProduceInfoMondel> getLimitProNumAndProduceName(@Param("produceNums") List<String> produceNums);
    List<ProduceStatisticalInfo> monthStatics(@Param("produceInfoMondels") List<ProduceInfoMondel> produceInfoMondels);
}
